package com.data.entity;

import java.util.Date;

/**
 * 设备状态班次统计表
 * 根据状态分类统计每种状态持续时间及耗电
 * @author Administrator
 *
 */
public class StateShift {
    private Integer id;//主键，自增
    private Integer equId;//设备id
	private String stateType;//设备状态
    private Integer shiftId;//班次id
    private String shiftName;//班次名称
    private Double duration;//持续时间(秒)
    private Double relativeComp;//相对耗电
    private Date belongDate;//存储日期   
    
    
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getEquId() {
		return equId;
	}
	public void setEquId(Integer equId) {
		this.equId = equId;
	}
	public String getStateType() {
		return stateType;
	}
	public void setStateType(String stateType) {
		this.stateType = stateType;
	}
	public Integer getShiftId() {
		return shiftId;
	}
	public void setShiftId(Integer shiftId) {
		this.shiftId = shiftId;
	}
	public String getShiftName() {
		return shiftName;
	}
	public void setShiftName(String shiftName) {
		this.shiftName = shiftName;
	}
	public Double getDuration() {
		return duration;
	}
	public void setDuration(Double duration) {
		this.duration = duration;
	}
	public Double getRelativeComp() {
		return relativeComp;
	}
	public void setRelativeComp(Double relativeComp) {
		this.relativeComp = relativeComp;
	}
	public Date getBelongDate() {
		return belongDate;
	}
	public void setBelongDate(Date belongDate) {
		this.belongDate = belongDate;
	}
}
